#include <stdio.h>

int main(){
    int var=20;
    int *ip;
    ip=&var;
    printf("var memory address: %p\n",&var);
    printf("ip value: %p\n",ip);
    printf("ip pointing value: %d\n",*ip);
    return 0;
}
